package com.otitan.forest.right.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.otitan.forest.right.entity.SysRoleEntity;
import com.otitan.forest.right.entity.SysUserRoleRelationEntity;

import java.util.List;

/**
 * 用户角色关联
 *
 * @author xiazw
 * @email *****@mail.com
 * @date 2020-08-04 14:19:43
 */
public interface SysUserRoleRelationService extends IService<SysUserRoleRelationEntity> {
    void insertByUserIdAndRoleId(String userId, List<SysRoleEntity> sysRoleEntities);

    void updateByUserIdAndRoleId(String userId, List<SysRoleEntity> sysRoleEntities);
}

